<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div img {
            width: 30px;
            position: relative;
            left: 10px;
            top: 15px;
        }

        .aa {
            width: 250px;
            height: 50px;
            border: solid red 1px;
            position: absolute;
        }

        span {
            background-color: red;
            color: white;
            border-radius: 50%;
            position: absolute;
            top: 3px;
            left: 41px;
        }

        .bb {
            color: red;
            position: absolute;
            top: 9px;
            left: 80px;
            font-size: 25px;
        }
    </style>
</head>

<body>
    <div class="aa">
        <div>
            <img src="./购物车.png">
        </div>
        <div>
            <span>99+</span>
        </div>
        <div class="bb">我的购物车</div>
    </div>
</body>

</html>